//接口
import request from "./http";
//搜索
export function getbroadcasting(params){
    return request({
        url:"/personalized/djprogram",
        method:"get",
        params
    })
}
//所有榜单内容摘要
export function getdetail(params){
    return request({
        url:"/toplist/artist",
        method:"get",
        params
    })
}

///热门歌单
export function getperson(params){
    return request({
        url:"/playlist/hot",
        method:"get",
        params
    })
}
//获取歌单详情/playlist/detail
export function getplaydetail(params){
    return request({
        url:"/playlist/detail",
        method:"get",
        params
    })
}
//获取歌单所有歌曲
export function getplaytrack(params){
    return request({
        url:"/playlist/track/all",
        method:"get",
        params
    })
}
//获取音乐 url
export function getsongs(params){
    return request({
        url:"/song/url",
        method:"get",
        params
    })
}

//相关歌单推荐
export function getreques(params){
    return request({
        url:"/related/playlist",
        method:"get",
        params
    })
}